package com.springboot.love.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 回复表(Answer)实体类
 */
@ToString
public class Answer implements Serializable {
    private static final long serialVersionUID = 582474508558679474L;
    /**
    * 回复id
    */
    @Setter
    @Getter
    private Integer answerId;
    /**
    * 被回复者
    */
    @Setter
    @Getter
    private Integer respondentId;
    /**
    * 帖子id
    */
    @Setter
    @Getter
    private Integer postId;
    /**
    * 回复者
    */
    @Setter
    @Getter
    private Integer userId;
    /**
    * 回复内容
    */
    @Setter
    @Getter
    private String answerContent;
    /**
    * 回复被赞次数
    * 该属性废弃
    */
    @Setter
    @Getter
    private Integer answerLikedCount;
    /**
    * 回复创建时间
    */
    @Setter
    @Getter
    private Date answerCreateTime;
}